package models

type Subtitles struct {
	ID           int    `gorm:"primary_key;auto_increment;comment:字幕文件ID"`
	AudioID      int    `gorm:"index;not null;comment:关联的音频ID"`
	VideoID      int    `gorm:"index;not null;comment:关联的视频ID"`
	Name         string `gorm:"type:varchar(255);not null;comment:字幕文件名"`
	SubtitlePath string `gorm:"type:varchar(255);not null;comment:字幕文件路径"`
	Timestamps
	// CreatedAt    time.Time `gorm:"default:CURRENT_TIMESTAMP;comment:创建时间"`
	// UpdatedAt    time.Time `gorm:"default:CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP;comment:更新时间"`
}
